<layout name="master"/>


<ul class="breadcrumb no-border no-radius b-b b-light pull-in">
    <li><a href="index.html"><i class="fa fa-home"></i> Home</a></li>
    <li><a href="#">UI kit</a></li>
    <li><a href="#">Form</a></li>
    <li class="active">Elements</li>
</ul>
<div class="m-b-md">
    <h3 class="m-b-none"><?php if(isset($_GET['nid'])){?>属性修改<?php }else{ ?>属性添加<?php }?></h3>
</div>
<form action="" method="post">
    <div class="row">
        <div class="col-sm-8">
            <section class="panel panel-default">
                <header class="panel-heading font-bold"> <?php if(isset($_GET['nid'])){?>属性修改<?php }else{ ?>属性添加<?php }?></header>
                <div class="panel-body">
                    <form role="form">
                        <div class="form-group">
                            <label>属性名称</label>
                            <input type="text" name='nname' value="{$olddate['nname']}" class="form-control">
                        </div>
                        <div class="form-group">
                            <label>添加人</label>
                            <input type="text" name="adduser"  <?php if(isset($_GET['nid'])){?>readonly <?php }?>  value="{$olddate['adduser']}" class="form-control">
                        </div>

                        <button type="submit" class="btn btn-sm btn-default">提交</button>
                    </form>
                </div>
            </section>
        </div>
    </div>
</form>

